home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / comm / dlg / yahoo12.lha / BooHoo.rexx next >
OS/2 REXX Batch file  |  1994-07-15  |  950b  |  37 lines

  1. /* BooHoo.rexx */
  2.  
  3. /* This is a very simple who's on-line utility for your callers. */
  4. /* YaHoo v1.2 or later must be running. */
  5.  
  6. /* Run this using "rx BooHoo.rexx" */
  7.  
  8. options results
  9. address yahoo
  10.  
  11. /* You will want to change this header to suit your needs. */
  12.  
  13. say "Look who's on the BBS"
  14. say ""
  15. say "    Who                 From         Activity"
  16.  
  17. /* Repeat the getline/say commands for each port you want */
  18. /* your callers to see.  Refer to the docs for a list of */
  19. /* valid parameters for the "getline" command. */
  20.  
  21.  
  22. getline TR0 nolevel notime nobaud nocid
  23. say result
  24.  
  25. getline TR2 nolevel notime nobaud nocid
  26. say result
  27.  
  28.  
  29. /* You might want to write your own arexx code to */
  30. /* post-process the results if you want the users to see */
  31. /* something different.  Some things you might want to do */
  32.  
  33. /*  -> remove sysop's name from the list */
  34. /*  -> insert color change codes */
  35. /*  -> include phone number and max speed of your idle lines */
  36.  
  37.